package org.lendoo.web.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.lendoo.web.entity.Goods;
import org.lendoo.web.entity.RelGoodsImage;

import java.util.List;

/**
 * 商品和其对应的图片列表的dto类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AllGoodsDto", description = "商品和其对应的图片列表的dto类")
public class GoodsAndImageListDto {

    @ApiModelProperty(value = "商品", dataType = "Goods")
    private Goods goods;

    @ApiModelProperty(value = "商品图片对象列表", dataType = "List")
    private List<RelGoodsImage> relGoodsImageList;
}
